cmake_minimum_required(VERSION 2.8)

project(cal_outparameter)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}-std=c++11")

find_package(OpenCV  REQUIRED)

#include_directories(${OpenCV_INCLUDE_DIRS})

set(SRC_LIST main.cpp )

add_executable(calibration calibration.cpp)
add_executable(test_ test.cpp)
add_executable(main ${SRC_LIST})

#link_directories(${OpenCV_LIBRARY_DIRS})

target_link_libraries(main ${OpenCV_LIBS} -lyaml-cpp -lGeographic)

target_link_libraries(calibration ${OpenCV_LIBS})

target_link_libraries(test_ ${OpenCV_LIBS} -lyaml-cpp -lGeographic)
